﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;

namespace DP.RecallDeal.Interface.ObjectTransformer
{
    public class MappingMember
    {
        public string Name { get; set; }
        public MemberType Type { get; set; }
        public bool CaseSensitive { get; set; }

        public MappingMember()
        {
            Type = MemberType.Property;
            CaseSensitive = true;
        }

        public MappingMember(string name, MemberType type)
        {
            Name = name;
            Type = type;
        }

        public MappingMember(bool isCaseSensitive)
        {
            CaseSensitive = isCaseSensitive;
        }
    }

    public enum MemberType
    { 
        Field,
        Property
    }
}
